package com.leo;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author wangss
 */
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
@ImportResource("classpath:spring/applicationContext.xml")
@Slf4j
@EnableAsync
public class LeoSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(LeoSpringbootApplication.class, args);
    }
}
